import { Component, Input, OnInit } from '@angular/core';
import { NgxRawUiService } from './ngx-raw-ui.service';

@Component({
  selector: 'lib-ngx-raw-ui',
  standalone: true,
  imports: [],
  template: `
    <p class="hover:t-text-red-500 hover:t-cursor-pointer">
      ngx-raw-ui works!
      {{name}}
    </p >
  `,
  styles: ``
})
export class NgxRawUiComponent implements OnInit {
  @Input() name: string = 'World';


  constructor(
    private ngxRawServer: NgxRawUiService
  ) {

  }

  ngOnInit(): void {
    console.log(this.ngxRawServer, 'ngxRawServer');
  }
}
